<template>
    <div>
        <van-empty :image="require('../../assets/images/error.png')" description="抱歉，你访问的页面不存在">
            <h5>404</h5>
            <van-button type="info" size="normal" @click="returnPage">返回上一页面</van-button>
        </van-empty>
    </div>
</template>

<script>
export default {
    methods: {
        returnPage () {
            history.go(-1);
        }
    }
}
</script>

<style scoped>
    h5 {
        text-align: center;
        color: gray;
        font-size: 20px;
        margin-bottom: 30px;
    }
</style>